package 实验2;

public class Teacher {
	private String id;
	private String name;
	private String sex;
	private Course taughtClass;
	public Teacher(String id, String name, String gender) {
		this.id=id;
		this.name=name;
		this.sex=sex;	
	}
	public void settaughtClass(Course taughtClass) {
		this.taughtClass=taughtClass;
	}
	public String getId() {
		return id;
	}
	public String getName() {
		return name;
	}
	public String getSex() {
		return sex;
	}
}
